package Lesson3;

/**
 * Created with IntelliJ IDEA.
 * User: tos
 * Date: 11/6/13
 * Time: 11:22 AM
 * To change this template use File | Settings | File Templates.
 */
public class Train extends Transport {


    Train(int cost) {
        super(cost);
    }

    public void move(){
        for ( int j = 0; j < length; j++ ){

                road[5][j] = 1;
                System.out.println(road[5][j]);

        }
    }
}
